-- GENERATED SPELL FOR [Southsea Swashbuckler] --


function spell0_7858(pUnit, Event) --@Disarm,n/a--
pUnit:FullCastSpellOnTarget(6713,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7858', 5273, 1)
end

function Sorts_7858(pUnit, Event)
local choix_sorts_7858 = math.random(0, 0)
if choix_sorts_7858 == 0 then
pUnit:RegisterEvent('spell0_7858', 1, 1)
end
end

function mob7858_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7858', math.random(1500, 3000), 1)
end

function mob7858_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7858_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7858_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7858, 1, 'mob7858_Action')
RegisterUnitEvent(7858, 2, 'mob7858_Leave')
RegisterUnitEvent(7858, 3, 'mob7858_Kill')
RegisterUnitEvent(7858, 4, 'mob7858_Die')
